package com.bank.pojo;

import java.sql.Timestamp;

/**
 * BankTrade entity. @author MyEclipse Persistence Tools
 */

public class BankTrade implements java.io.Serializable {

	// Fields

	private String tradeId;
	private BankCards bankCardsByTradeOutId;
	private BankType bankType;
	private BankCards bankCardsByTradeInId;
	private Float tradeMoney;
	private Timestamp tradeTime;

	// Constructors

	/** default constructor */
	public BankTrade() {
	}

	/** full constructor */
	public BankTrade(BankCards bankCardsByTradeOutId, BankType bankType,
			BankCards bankCardsByTradeInId, Float tradeMoney,
			Timestamp tradeTime) {
		this.bankCardsByTradeOutId = bankCardsByTradeOutId;
		this.bankType = bankType;
		this.bankCardsByTradeInId = bankCardsByTradeInId;
		this.tradeMoney = tradeMoney;
		this.tradeTime = tradeTime;
	}

	// Property accessors

	public String getTradeId() {
		return this.tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public BankCards getBankCardsByTradeOutId() {
		return this.bankCardsByTradeOutId;
	}

	public void setBankCardsByTradeOutId(BankCards bankCardsByTradeOutId) {
		this.bankCardsByTradeOutId = bankCardsByTradeOutId;
	}

	public BankType getBankType() {
		return this.bankType;
	}

	public void setBankType(BankType bankType) {
		this.bankType = bankType;
	}

	public BankCards getBankCardsByTradeInId() {
		return this.bankCardsByTradeInId;
	}

	public void setBankCardsByTradeInId(BankCards bankCardsByTradeInId) {
		this.bankCardsByTradeInId = bankCardsByTradeInId;
	}

	public Float getTradeMoney() {
		return this.tradeMoney;
	}

	public void setTradeMoney(Float tradeMoney) {
		this.tradeMoney = tradeMoney;
	}

	public Timestamp getTradeTime() {
		return this.tradeTime;
	}

	public void setTradeTime(Timestamp tradeTime) {
		this.tradeTime = tradeTime;
	}

}